home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / STR2ARR.HDR < prev    next >
Text File  |  1994-04-25  |  895b  |  36 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _Str2Array(cString) --> xArray
  8.  
  9. PARAMETERS:
  10.  
  11. cString : String previously created by _Array2Str()
  12.  
  13. SHORT:
  14.  
  15. Convert _Arr2Str()'s string back to an array.
  16.  
  17. DESCRIPTION:
  18.  
  19. _Str2Array() is used to restore an array previously "stringified"
  20. specifically by _Array2Str().
  21.  
  22. NOTE:
  23.  
  24. See Also Array2Str(), _File2Var(), _Var2File()
  25.  
  26. EXAMPLE:
  27.  
  28. t = {'ABCDEFG','HIJKLMN',{'o','p','q'},,1,2,3,'RSTUVWXZ'}
  29.  
  30. t = _Str2Array(cArrayStr1)
  31.  
  32. Result: t now contains a copy of the array stored in cArrayStr.  Yes,
  33. multidimensional, multi-type (including NIL element) arrays are supported.
  34.  
  35. ******************************************************************************/
  36.